﻿using System;

namespace ThreeDContentPipeline
{
    public abstract class ContentTypeWriter<T> : IContentTypeWriter
    {
        public void WriteObject(object value, ContentWriter writer)
        {
            Write((T)value, writer);
        }

        public abstract void Write(T value, ContentWriter writer);

        public abstract string ContentReaderName();
    }
}
